﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Cap.Services.Manager.Models
{
    /// <summary>
    /// 用户角色表 
    /// </summary>
    public class UserRole
    {
        /// <summary>
        /// 用户角色表 
        /// </summary>
        public UserRole()
        {
        }

        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 ID { get; set; }

        /// <summary>
        /// 外键-用户ID
        /// </summary>
        public System.Int32 FK_User { get; set; }

        /// <summary>
        /// 外键-角色ID
        /// </summary>
        public System.Int32 FK_Role { get; set; }

        /// <summary>
        /// 是否可用
        /// </summary>
        public System.String IsVaild { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public System.Int32? CreateUser { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public System.DateTime? CreateDate { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public System.Int32? ModifyUser { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public System.DateTime? ModifyDate { get; set; }
    }
}
